<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        header a{
            text-decoration: none;
            color:#6c6c6c;

        }
        .el-menu{
            /*去掉自带的外边框*/
            border-bottom: 0 !important;
        }
        .el-table .el-table__cell{
            padding: 0;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <!--头部-->
        <el-header height="150">
            <div style="width:1200px;margin: 0 auto">
                <img src="imgs/logo.png" alt="" style="width: 300px; vertical-align: middle">
                <span>
                    <a href="">首页</a><el-divider direction="vertical"></el-divider>
                    <a href="">热点咨询</a><el-divider direction="vertical"></el-divider>
                    <a href="">商家入住</a><el-divider direction="vertical"></el-divider>
                    <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">帮助</a><el-divider direction="vertical"></el-divider>
                </span>
            </div>
            <!--*******蓝色导航条开始************-->
            <div style="width: 100%;height: 60px;background-color: #82c8ec">
            <el-menu style="width: 1200px;margin: 0 auto"
                     :default-active="1" class="el-menu-demo" mode="horizontal"
                     background-color="#82c8ec"
                     text-color="#fff"
                     active-text-color="#fff"
                     @select="handleSelect">
                <el-menu-item v-for="c in categoryArr":index="c.id">{{c.name}}</el-menu-item>
                <!--******搜索框开始********-->
                <div style="float:right;margin-top: 11px">
                <el-input placeholder="请输入内容"  class="input-with-select">
                    <el-button slot="append" icon="el-icon-search"></el-button>
                </el-input>
                </div>
                <!--******搜索框结束********-->
            </el-menu>
            </div>
            <!--*******蓝色导航条结束************-->
        </el-header>
        <el-main style="width: 1200px;margin: 0 auto">
            <el-row :gutter="20">
                <el-col :span="12">
                    <img src="imgs/a.jpg" width="100%">
                </el-col>
                <el-col :span="12">
                    <p style="font-size: 25px">森马牛仔裤女宽松慢跑裤运动风2022春季新款显瘦束脚长裤复古</p>
                    <el-divider></el-divider>
                    <p style="color: #666;font-size: 15px">销量:3213 浏览量:340</p>
                    <p style="font-size: 25px;font-weight: bold">¥453
                    <span style="font-size: 15px;color: #666">原件:<s>800</s></span>
                    </p>
                    <!--二维码开始-->
                    <el-row :gutter="8" style="text-align: center">
                        <el-col :span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="" width="100%">
                            </el-card>
                            <span>扫码购买商品</span>
                        </el-col>
                        <el-col :span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="" width="100%">
                            </el-card>
                            <span>扫码关注公众号</span>
                        </el-col>
                        <el-col :span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="" width="100%">
                            </el-card>
                            <span>扫码下载App</span>
                        </el-col>
                    </el-row>
                    <!--二维码结束-->
                </el-col>
            </el-row>
        </el-main>
        <el-footer>
            <div style="height: 95px;background-image: url('imgs/wave.png');margin-bottom: -30px"></div>
            <div style="height: 100px;font-size: 14px;background-color: #3f3f3f;color: #b1b1b1;
            text-align: center;padding: 30px">
                <!--黑色部分-->
                <p>Copyright © 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3 京公网安备 11010802029572号
                </p>
                <p>达内在线WWW.TMOOC.CN 专注于IT职业技能培训</p>
                <p>涵盖20余门课程体系，致力于打造权威的IT职业教育学习平台</p>
            </div>
        </el-footer>
    </el-container>
</div>
</body>
<!--引入Vue框架-->
<script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
   let v = new Vue({
        el: '#app',
        data: function() {
            return {
                categoryArr:[{id:1,name:"精彩活动"},{id:2,name:"当季女装"},{id:3,name:"品牌男装"},
                    {id:4,name:"环球美食"},{id:5,name:"医药保健"},{id:6,name:"美妆彩妆"},
                    {id:7,name:"母婴产品"}],
            }
        },
       methods:{
           handleSelect(key, keyPath) {
               console.log(key, keyPath);
           }
       }
    })
</script>
</html>